Ext.define('byb.view.grid.system.AdmUser',{
    alias:'widget.sysmgr_userManagerGrid',
    extend:"byb.view.grid.BaseGridPanel",
    store:'system.AdmUser',
    buildColumns:function(){
        return [
                { text: 'ID',  dataIndex: 'id' ,hidden:true},
                { text: 'password',  dataIndex: 'password' ,hidden:true},
                { text: 'orgId',  dataIndex: 'orgId' ,hidden:true},
                { text: 'roleIds',  dataIndex: 'roleIds' ,hidden:true},
                { text: '生日',  dataIndex: 'birthday', xtype:'datecolumn', format:'Y-m-d', hidden:true},
                { text: '用户名',  dataIndex: 'username' },
                { text: '姓名',  dataIndex: 'fullName' },
                { text: '角色',  dataIndex: 'rolesDesc' },
                { text: '组织',  dataIndex: 'orgDesc' },
                { text: '备注',  dataIndex: 'remark',hidden:true}
              ];
    },
 	getOperations:function(){
        return [{dock:"top"
        		,operations:[byb.Constant.TabBarOperationAdd
                              ,byb.Constant.TabBarOperationModify
                              ,byb.Constant.TabBarOperationDelete
                              ,byb.Constant.TabBarOperationExport
                              ,byb.Constant.TabBarOperationResetPassword]}];
    }
});